package com.xb.cloud.usercenter.service;

import com.xb.cloud.gateway.client.RtnInfo;
import com.xb.cloud.usercenter.client.vo.OrderMerchantQueryVo;

public interface SellOrderMerchantApiService {

	/**
	 * 查询 商家端店铺对应的订单列表
	 * 
	 * @Title getOrderListByStatus
	 * @param orderQueryVo
	 * @return
	 */
	RtnInfo getOrderListByStatus(OrderMerchantQueryVo orderQueryVo ,Long merchantId);

	/**
	 * 根据id获取订单详情
	 * 
	 * @Title getOrderDetailsById
	 * @param orderQueryVo
	 * @return
	 */
	public RtnInfo getOrderDetailsById(Long orderId );

	/**
	 * 商家端获取店铺 对应的订单数量统计.
	 * 
	 * @Title getOrderCountByStatus
	 * @param orderQueryVo
	 * @return
	 */
	RtnInfo getOrderCountWithStatus(OrderMerchantQueryVo orderQueryVo ,Long merchantId);
	
	
	/**
	 * 确认支付
	 */
	public RtnInfo confirmPay(Long orderId,Long merchantId) ;
	
	/**
	 * 发货
	 */
	public RtnInfo orderDelivery(Long orderId,Long merchantId);
	
	/**
	 *	订单取消 
	 */
	public RtnInfo orderCancel(Long orderId,Long merchantId,Long cancelResaonId);
	
	/**
	 *	获取取消订单的原因的列表
	 */
	public RtnInfo getCancelReasonList(Long companyId);
	
	
}
